fast-float: tweak lut generation
authorØyvind Kolås <pippin@gimp.org>
Wed, 16 Nov 2016 16:12:50 +0000 (17:12 +0100)
committerØyvind Kolås <pippin@gimp.org>
Wed, 16 Nov 2016 16:12:50 +0000 (17:12 +0100)
extensions/fast-float.c

index 8148de0b1121c53fd2ff861854df816fc8c810d2..9103bc93f020e0ee279298b1978eb72d0f2ab552 100644 (file)
@@ -449,7 +449,7 @@ init (void)
     fast_pow = babl_lookup_new (core_lookup, NULL, 0.0, 1.0,   0.0001);
     fast_rpow = babl_lookup_new (core_rlookup, NULL, 0.0, 1.0, 0.0001);
 
-    for (f = 0.0; f < 1.0; f+= 0.00001)
+    for (f = 0.0; f < 1.0; f+= 0.000012)
       {
         a = linear_to_gamma_2_2_lut (f);
         a = gamma_2_2_to_linear_lut (f);